Name | redis pubsub message |
Event Lines | redis pubsub message |
Triggers | when a subscribed redis connection receives a published message, see Redis. |
Generated Examples | on redis pubsub message:
after redis pubsub message: |
Switches | channel:<channel> to only fire on events advanced-matching the given channel. |
Contexts | <context.redis_id> returns the connection id that saw this message.
<context.pattern> returns the redis pattern that matched the channel.
<context.channel> returns the actual channel matched.
<context.message> returns the published message.
|
Group | Core |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/events/core/RedisPubSubMessageScriptEvent.java#L9 |